package com.example.beikeyigou.untils;

public class URLUtils {
    //内网地址
    //public  static String PUBLIC_URL = "http://192.168.13.143:8080/beikeMarket";
    //http://192.168.13.143:8080/beikeMarke
    //外网地址
    public  static String PUBLIC_URL = "http://47.100.26.130:8085/beikeMarke";

    //注册
    public static String register_url = PUBLIC_URL+"/user/register";
    //登录
    public static String login_url = PUBLIC_URL+"/user/login";
    //更新用户个人信息
    public static String updateinfo_url = PUBLIC_URL+"/user/updateInfo";
    //显示密保问题
    public static String showQuestion_url = PUBLIC_URL+"/user/showQuestion";
    //验证密保答案
    public static String verifyAnswer_url = PUBLIC_URL+"/user/verifyAnswer";
    //
    public static String updatePwd_url = PUBLIC_URL+"/user/updatePwd";


    //业务相关
    //1.查询所有分类
    public static String queryAllCategory_url = PUBLIC_URL+"/biz/queryAllCategory";
    //通过分类查找对应商品
    public static String queryCommodityByCateId_url = PUBLIC_URL+"/biz/queryCommodityByCateId?categoryId=";
    //商品模糊查询
    public static String queryCommodityByName_url = PUBLIC_URL+"/biz/queryCommodityByName?name=";
    //商品详情
    public static String queryCommodityInfo_url = PUBLIC_URL+"/biz/queryCommodityInfo?commodityId=";
    //热销产品
    public static String hotCommodity_url = PUBLIC_URL+"/biz/hotCommodity";
    //产品推荐
    public static String recommendCommodity_url = PUBLIC_URL+"/biz/recommendCommodity";
    //猜你喜欢
    public static String guessYouLike_url = PUBLIC_URL+"/biz/guessYouLike";

    //购物车相关
    public static String insertShoppingCar_url = PUBLIC_URL+"/trade/insertShoppingCar";




}
